package io.renren.modules.wcs.test;

/**
 * @Author: 蔡翔
 * @Date: 2019/10/31 14:40
 * @Version 1.0
 */
public class StrWithHexTransform {
    public static void main(String[] args) {
        new Thread(()->{
            try {
               System.out.println("testwork 返回值："+TestWork.runWork());
            } catch (InterruptedException e) {
                e.printStackTrace();
            }


        },"Thread1").start();

        new Thread(()->{
            try {
                Thread.sleep(10000);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
            TestWork.shutdownGreacfully();
            try {
                Thread.sleep(10000);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
            TestWork.wakeupGreacfully();
        },"Thread2").start();



    }

}
